﻿using System.Collections.Generic;

namespace Expression.Interface
{
    /// <summary>
    /// 
    /// </summary>
    public interface IAlgorithmBehaviours
    {
        /// <summary>
        ///  添加参数
        /// </summary>
        /// <param name="arg"></param>
        void AddParameters(IArg arg);


        /// <summary>
        /// 添加参数
        /// </summary>
        /// <param name="name"></param>
        /// <param name="val"></param>
        void AddParameters<T>(string name, T val);

        /// <summary>
        /// 获取错误信息
        /// </summary>
        /// <returns></returns>
        List<string> GetLastError(); 

    }


}
